import { Expose } from "class-transformer";


class Page {
  @Expose({name:'num'})
    num: number = 0;
  @Expose({name:'size'})
    size: number = 0;
  @Expose({name:'total'})
    total: number = 0;
}

export class ArticleItem{
  id:number  = 0;

  title:string = '';

  author:string = '';

  tag:string = ''

}

export class ArticleList {

  page:Page = new Page()

  item: ArticleItem[] = []
  
}